home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / ASSEMBLE / H235A.ZIP / ASM_0_M.ZIP / E.DOC < prev    next >
Text File  |  1989-08-20  |  7KB  |  117 lines

  1. Greetings!
  2.  
  3.   E is a little programming editor I wrote and am releasing into the public
  4. domain.  It keeps the file being edited in RAM and makes use of all available
  5. standard memory, allowing editing of large files.  It provides a full set of
  6. cursor movement commands, block and line move and delete functions, and find
  7. and replace operations.  Block operations may be directed to use an internal
  8. buffer or another file.  It's written in TASM for speed and compactness (I've
  9. included the source so you can make your own modifications if you want).
  10.  
  11.   E is simple enough that it doesn't need much extra documentation.  Just fire
  12. it up and press F1 for help.  Here's an expanded version of the help screen
  13. with some additional comments, followed by a version history.
  14.  
  15. left                    left arrow, ^s         The Ctrl-letter forms of the
  16. right                   right arrow, ^d     cursor commands may be harder to
  17. word left               ^left arrow, ^a     remember, but don't require that
  18. word right              ^right arrow, ^f    you lift your hands from the home
  19. start of line           Home                keyboard position.
  20. end of line             End
  21. up                      up arrow, ^e           'Delete to end of line' and
  22. down                    down arrow, ^x      'delete line' put the clipped lines
  23. page up                 PgUp, ^r            or portions into a delete buffer
  24. page down               PgDn, ^c            from whence they may be undeleted
  25. start of file           ^PgUp               using Ctrl ^.  This is the easiest
  26. end of file             ^PgDn               way to move a few lines:  delete
  27. backspace               backspace           the lines, move the cursor to
  28. delete                  Del                 the new location, then undelete.
  29. delete word left        ^[
  30. delete word right       ^]                     The block commands marked with
  31. delete to end of line   ^\                  a * will use a file (you'll be
  32. delete line             ^-                  prompted for the name) if the shift
  33. undelete line           ^^                  key is pressed along with the Alt-
  34. toggle insert mode      Ins                 letter combination.  Otherwise an
  35. help                    F1                  internal buffer will be used.  These
  36. mark start of block     @b                  commands only work on whole lines.
  37. copy block              @c *                Copy will put a copy of all marked
  38. delete block            @d *                lines (between the line where you
  39. insert block            @i *                pushed Alt B and the present cursor
  40. empty block buffer      @e *                location) in the buffer or a file.
  41. unmark                  @u                  Delete does a Copy and removes the
  42. find                    @f +                original lines.  Insert inserts the
  43. replace                 @r +                contents of the file or buffer above
  44. find/replace all        @= +                the present line.  To move text, use
  45. save and continue       @s                  Delete then Insert.  To move text
  46. save and exit           @x                  between two files, Delete or Copy to
  47. kill save on exit       @k                  the block buffer, Alt O to change
  48. label (0-9)             @l                  files, then Insert.
  49. go to label (0-9)       @g
  50. jump to line #          @j                     Find and Replace will use the
  51. set tab width           @t                  strings last entered if the shift
  52. toggle autoindent       @a                  key is down.  Replace must always
  53.                                             be used immediately after Find.  Use
  54. @ = Alt, ^ = Ctrl.                          Find/Replace All if you're sure you
  55. * = to/from file if shifted                 want to change all occurrances of a
  56. + = use previous string(s) if shifted       string.  Otherwise use shifted Find
  57.                                             and Replace selectively.
  58.  
  59.    Alt O will save the current file and prompt for the name of a new file to
  60. be loaded.  Use Alt S to save and continue, Alt X to save and exit, and Alt K
  61. followed by Alt X to discard any changes made and exit.
  62.  
  63.    Autoinsert mode lines up the start of each new line (after Enter) with that
  64. of the line above it.  Use Alt A to toggle this on or off.  When off, each
  65. new line will start at the left-hand margin.
  66.  
  67.    You can mark your place in the program with Alt L, which prompts you for a
  68. label from 0 to 9.  Pressing Alt G, then the label number will return you to
  69. this spot.  Alt J will prompt you for a line number to jump to.
  70.  
  71.    Whenever you are entering something in response to a prompt such as a find
  72. string or file name, entering a null string (just Enter) will cancel the
  73. command.
  74.  
  75.   I'd appreciate hearing about any bugs, and welcome any other comments.  I
  76. may release an upgrade one of these days.  To contact me, leave a message on
  77. the EXEC PC BBS (1-414-964-5160) or write me at the address below.  Please
  78. enclose a stamped, self-addressed envelope if you need a reply.  Sorry, I can't
  79. promise any support.  Thanks for trying E!
  80.  
  81.  
  82.                                                       David Nye MD
  83.                                                       4209 W Lowe's Creek Rd.
  84.                                                       Eau Claire, WI  54701
  85.                                                       11 June, 1989
  86.  
  87. 19 Aug 89  Version 0.1:  
  88.  
  89.    You may now change E's default screen colors and tab width using debug by 
  90. typing: 
  91.  
  92.    >ren e.exe e.fix
  93.    >debug
  94.    -e 157e nn mm tt
  95.    -w
  96.    -q
  97.    >ren e.fix, e.exe
  98.  
  99. where nn and mm are the desired attribute bytes for text and marked text/status 
  100. line respectively and tt is the tab width (all in hex).  
  101.  
  102.    When you use Alt O to switch to another file, the contents of the block 
  103. buffer are preserved and can be inserted into the other file for cut and paste 
  104. operations between files (previously you had to use a scratch file).  
  105.  
  106.    Tabs are now automatically expanded when a file is read in.  
  107.  
  108.    I fixed a bug which caused the program to hang if you failed to specify a 
  109. file to edit on the command line and another which made a little box with a 
  110. circle in it appear mysteriously before certain lines of text in an edited file.  
  111.  
  112.    ALT M (mark block) has been renamed to ALT B.  Not only is B easier to reach 
  113. when pressing the ALT key, but I plan to add macros in the next release and will 
  114. use ALT M for that. I also think I'll add word wrap, paragraph reformatting, and 
  115. ability to specify margins to make E more useful for simple documentation. 
  116.  
  117.